package com.cheng.example.atguigu.design_pattern.decorator;

/*
 * @author 程帅
 * @createTime: 2020/10/17 18:20
 * @Created: with IntelliJ IDEA.
 */

//具体的Decorator, 这里就是调味品
public class Chocolate extends Decorator {

    public Chocolate(Drink obj) {
        super(obj);
        setDes(" 巧克力");
        setPrice(3.0f);// 调味品 的价格
    }

}
